package net.uhuijia.zb.userzhubolive.persistence.dao;

import org.apache.ibatis.annotations.Mapper;
import net.uhuijia.appbase.dao.CrudDao;
import net.uhuijia.zb.userzhubolive.persistence.basedao.UserZhuboLiveMapper;
import net.uhuijia.zb.userzhubolive.persistence.model.UserZhuboLive;
import net.uhuijia.zb.userzhubolive.persistence.model.UserZhuboLiveExample;


@Mapper
public interface UserZhuboLiveDao
     extends UserZhuboLiveMapper,CrudDao<UserZhuboLive,UserZhuboLiveExample> {

    /**
     * 查询用户正在直播的信息
     * @param userId
     * @return
     */
    UserZhuboLive getUserZhuboOnlineByUserId(String userId);
}